package com.taiyo.modules.api.service;

import com.taiyo.modules.api.entity.TOrderEntity;

import java.util.List;
import java.util.Map;

/**
 * 订单
 * 
 * @author zkcn
 * @email youeremail@163.com
 * @date 2018-01-29 10:41:15
 */
public interface TOrderService {
	
	TOrderEntity queryObject(Long id);
	
	List<TOrderEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	Long save(TOrderEntity tOrder);
	
	void update(TOrderEntity tOrder);
	
	void delete(Long id);
	
	void deleteBatch(Long[] ids);
}
